import java.util.Scanner;

public class Score {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入张三的月考成绩");
        int s=input.nextInt();
        if (s>=60){
            System.out.println("合格");}
            else {
            System.out.println("不合格");}



    }
}
